Skip to main content

ExpressionGraph

ExpressionGraph[expr] gives the tree graph with different levels at different depths. 

ExpressionGraph[expr,n] gives the tree graph only down to level n.

ExpressionGraph[expr,n,form] gives a tree graph in which subexpressions that match form are leaves.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.